<div class="row-fluid">
    <div class="navbar no-margin">
        <div class="navbar-inner">
            <ul class="breadcrumb">
                <i class="icon-chevron-left hide-sidebar"><a href='#' title="Hide Sidebar" rel='tooltip'>&nbsp;</a></i>
                <i class="icon-chevron-right show-sidebar" style="display:none;"><a href='#' title="Show Sidebar"
                                                                                    rel='tooltip'>&nbsp;</a></i>
                <li>
                    <a href="#/onduty">首页</a>
                </li>
                <li>
                    <a href="#/star/onduty/scheduler_list">排班计划</a>
                </li>
                <li class="active">排班设置</li>
            </ul>
        </div>
    </div>
</div>

<div class="container-fluid">

    <div class="row">
            <div class="col-sm-12 col-md-12 main">
                <div class="col-md-6 col-md-offset-3">
                    <h2 style="text-align: center">详情信息</h2>
                    <form name="form" ng-submit="form.$valid&&addScheduler()" novalidate>
                        <div class="form-group">
                            <label style="padding: 0 0 5px">排班方式（daily/weekly）</label>
                            <input type="text" class="form-control" name="rotationType" ng-model="vm.p.rotationType"  />
                            <span ng-show="form.rotationType.$error.required" class="help-block" >排班方式!</span>
                        </div>

                        <div class="form-group">
                            <label style="padding: 0 0 5px">开始时间</label>
                            <input type="text" class="form-control" name="startTime" ng-model="vm.p.startTime" required />
                            <span ng-show="form.startTime.$error.required" class="help-block" >开始时间!</span>
                        </div>
                        <div class="form-group">
                            <label style="padding: 0 0 5px">结束时间</label>
                            <input type="text" class="form-control" name="endTime" ng-model="vm.p.endTime"  />
                            <span ng-show="form.endTime.$error.required" class="help-block" >结束时间!</span>
                        </div>

                        <div class="form-group">
                            <label style="padding: 0 0 5px">第一联系人</label>
                            <input type="text" class="form-control" name="users" ng-model="vm.p.users"  />
                            <span ng-show="form.users.$error.required" class="help-block" >第一联系人（邮箱前缀）!</span>
                        </div>
                        <div class="form-group">
                            <label style="padding: 0 0 5px">第二联系人</label>
                            <input type="text" class="form-control" name="backups" ng-model="vm.p.backups"  />
                            <span ng-show="form.backups.$error.required" class="help-block" >第二联系人（邮箱前缀）!</span>
                        </div>
                        <div class="form-group">
                            <label style="padding: 0 0 5px">计划状态</label>
                            <input type="text" class="form-control" name="status" ng-model="vm.p.status"  />
                            <span ng-show="form.status.$error.required" class="help-block" >计划状态!</span>
                        </div>
                        <div class="form-group">
                            <input class="btn btn-primary" type="submit" value="确定"/>
                            <a href="#/star/onduty/scheduler_list/{{vm.p.resolvegroupId}}" class="btn btn-default">返回</a>
                        </div>
                    </form>
                </div>
            </div>
    </div>
</div><!--/.container-->
